package com.atguigu.common.constant;

public enum AttrType {
    ATTR_TYPE_SALE(0, "sale"),
    ATTR_TYPE_BASE(1, "base");
    private int code;
    private String msg;

    private AttrType(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public  String getMsg() {
        return msg;
    }
}
